package io.coderyeah.org.service;

import io.coderyeah.basic.Result;
import io.coderyeah.org.domain.Shop;
import com.baomidou.mybatisplus.extension.service.IService;
import io.coderyeah.org.domain.ShopAuditLog;
import io.coderyeah.org.dto.ShopDTO;

import javax.mail.MessagingException;
import java.util.List;

/**
* @author coderyeah
* @description 针对表【t_shop】的数据库操作Service
* @createDate 2022-09-11 12:10:57
*/
public interface ShopService extends IService<Shop> {

    void settlement(Shop shop);

    Result getAll(ShopDTO dto);

    Result pass(ShopAuditLog auditLog) throws MessagingException;

    Result reject(ShopAuditLog auditLog) throws MessagingException;

    List<ShopDTO> getEchartsData();

    Result active(Long shopId);
}